.container {
    position: relative;
    width: 30%;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.image {
    width: 100%;
    object-fit: cover;
}

#imageCounter {
    text-align: center;
    margin-top: 10px;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 3em;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 90px;
}